package com.media.entrance.model;

import com.fasterxml.jackson.annotation.JsonInclude;

// 媒体转发服务和媒体录制服务使用
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MediaResourceModel {
    public String getCoreId() {
        return coreId;
    }

    public void setCoreId(String coreId) {
        this.coreId = coreId;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    public MediaResourceModel(String coreId, String serverUrl) {
        this.coreId = coreId;
        this.serverUrl = serverUrl;
    }

    public MediaResourceModel(){

    }

    @Override
    public String toString() {
        return "MediaResourceModel{" +
                "coreId='" + coreId + '\'' +
                ", serviceUrl='" + serverUrl + '\'' +
                '}';
    }

    private String coreId;
    private String serverUrl;
}
